package com.atguigu.config;

import com.atguigu.EnableRobot;
import com.atguigu.prop.RobotProp;
import com.atguigu.service.RobotService;
import com.atguigu.service.RobotService2;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration

@EnableConfigurationProperties(RobotProp.class)
@Import({RobotService.class , RobotService2.class})
public class RobotAutoConfigration {
}
